#include "stdafx.h"
#include "LightClass.h"


CLightClass::CLightClass(void)
{
}


CLightClass::~CLightClass(void)
{
}

void CLightClass::SetAmbientColor(float fRed, float fGreen, float fBlue, float fAlpha)
{
	m_d3dAmbientColor = D3DXVECTOR4(fRed, fGreen, fBlue, fAlpha);
}

void CLightClass::SetDiffuseColor(float fRed, float fGreen, float fBlue, float fAlpha)
{
	m_d3dDiffuseColor = D3DXVECTOR4(fRed, fGreen, fBlue, fAlpha);
}

void CLightClass::SetDirection(float fXPos, float fYPos, float fZPos)
{
	m_d3dDirection = D3DXVECTOR3(fXPos, fYPos, fZPos);
}

void CLightClass::SetSpecularColor(float fRed, float fGreen, float fBlue, float fAlpha)
{
	m_d3dDiffuseColor = D3DXVECTOR4(fRed, fGreen, fBlue, fAlpha);
}

void CLightClass::SetSpecularPower(float fPower)
{
	m_fSpecularPower = fPower;
}

D3DXVECTOR4 CLightClass::GetAmbientColor()
{
	return m_d3dAmbientColor;
}

D3DXVECTOR4 CLightClass::GetDiffuseColor()
{
	return m_d3dDiffuseColor;
}

D3DXVECTOR3 CLightClass::GetDirection()
{
	return m_d3dDirection;
}

D3DXVECTOR4 CLightClass::GetSpecularColor()
{
	return m_d3dSpecularColor;
}
	
float CLightClass::GetSpecularPower()
{
	return m_fSpecularPower;
}